ShortPixel\Controller\FileSystemController B

Total Complexity 82
Dependencies 6
Dependents 2
Total lines 480
Lines of code 284
Logical lines of code 175
Comment lines 99
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
pathToUrl()
B
43 17 43
getBackupDirectory()
A
48 9 32
pathIsUrl()
S
61 9 10
returnOldSubDir()
S
52 6 23
getMediaImage()
S
57 5 16
downloadFile()
S
50 4 30
sortFiles()
S
58 4 16
url_exists()
S
57 3 18
getFilesRecursive()
S
61 3 13
getCustomImage()
S
62 3 12
getWPFileBase()
S
61 3 12
getWPAbsPath()
S
62 3 11
checkURL()
S
64 3 10
getImage()
S
64 3 10
__construct()
S
80 1 3
checkBackUpFolder()
S
73 1 5
getFile()
S
80 1 3
getDirectory()
S
80 1 3
getOriginalImage()
S
72 1 5
getCustomStub()
S
73 1 5
getWPUploadBase()
S
74 1 4